<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a:link {
            color: red;
        }

        a:visited {
            color: green;
        }

        a:hover {
            color: orange;
        }

        a:active {
            color: blue;
        }

        input:focus {
            background-color: pink;
        }
    </style>
</head>

<body>
    <a href=#>百度</a>
    <a href="https://bilibili.com/">b站</a>
    <input type="text"><input type="text"><input type="text">

</body>

</html>